package com.ndp.fb.rdb.model.prepublish;

import com.ndp.fb.rdb.annotation.Id;
import com.ndp.fb.rdb.annotation.Table;
import com.ndp.fb.redis.model.AdGroupLevel;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Created by evan.wan on 2015/7/2.
 */
@Setter
@Getter
@NoArgsConstructor
@Table("t_pre_ad_group")
public class PreAdGroup extends AdGroupLevel {
    @Id
    private Long id;
    //exception
    private String exception;
    //creative
    private String creative;

    public String getCreative() {
        return "{'creative_id':"+creative+"}";
    }
}
